package simonby.top.annualring.adapter.dto;

import lombok.Data;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.format.DateTimeFormatter;

/**
 * 用户家族关联DTO
 * 用于用户家族关联接口的数据传输
 */
@Data
public class UserFamilyDTO {
    private Long id;
    private Long userId;
    private Long familyTreeId;
    private String role;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}